#ifndef __APP_DELEGATE_H__
#define __APP_DELEGATE_H__

#include "cocos2d.h"

USING_NS_CC;

/**
@brief    The cocos2d Application.

The reason for implement as private inheritance is to hide some interface call by CCDirector.
*/
class  CSDelegate : private cocos2d::CCApplication
{
public:
    CSDelegate();
    virtual ~CSDelegate();

    virtual bool applicationDidFinishLaunching();
    virtual void applicationDidEnterBackground();
    virtual void applicationWillEnterForeground();
public:
	virtual void OnDidFinishLaunching() {}
};

#endif  // __APP_DELEGATE_H__

